<?php
/**
* SocialEngine
*
* @category   Application_Extensions
* @package    Flashgame
* @version    $Id: Level.php 6072 2010 YouNet $
* @author     To Anh
*/

class Flashgame_Form_Admin_Paymentsettings extends Engine_Form
{
    public function init()
    {
        parent::init();
    	
    	$this
        ->setTitle('Payment Gateway - Paypal');
        /*$this->loadDefaultDecorators();
        $this->getDecorator('Description')->setOptions(array('tag' => 'h4', 'placement' => 'PREPEND'));
*/
        $this->addElement('Radio', 'paymentgateway_enabled', array(
        'label' => 'Enable',
        'description' => 'Enabling the payment gateway will show it as one of the available payment options during checkout.',
        'multiOptions' => array(
        1 => 'Yes, Enable this payment gateway.',
        0 => 'No, Disable this payment gateway.'
        ),
        'value' => 1,
        ));

        $this->addElement('Text', 'paypal_business', array(
        'label' => 'Paypal email',
        'description' => 'Your paypal email account for receiving payments.'
        ));

        $this->addElement('Radio', 'paypal_sandbox', array(
        'label' => 'Sandbox',
        'description' => 'Test Mode / Sandbox - You can enable Test Mode / Sandbox for testing purposes. ( https://www.paypal.com/en_US/ebook/PP_Sandbox_UserGuide/overview.html ) ',
        'multiOptions' => array(
        1 => 'Yes, Enable Test Mode / Sandbox',
        0 => 'No, Disable Test Mode / Sandbox'
        ),
        'value' => 1,
        ));

/*
        $this->addElement('Button', 'submit', array(
        'label' => 'Save Changes',
        'type' => 'submit',
        ));*/

    }
}